<template>
  <div class="layout">
    <!-- <TopNav></TopNav> -->
    <div class="main">
      <nuxt></nuxt>
    </div>
    <Footer></Footer>
  </div>
</template>
<script>
import Vue from 'vue'
import Footer from '@/components/h5/footer'
import TopNav from '@/components/h5/topNav'

export default {
  name: 'layout',
  // components: {TopNav, Footer},
  
  components: {Footer},
  data () {
    return {
      dom: null
    }
  },
  watch: {
  },
}
</script>
<style scoped lang='scss'>
.layout{
  font-family: Noto Sans SC;
  font-style: normal;
  font-weight: 400;
  width: 100%;
  // overflow: auto;
  display: flex;
  flex-direction: column;
  .main{
    flex: 1;
  }
}

</style>
